import axios from "@/http.js";
// 热门资讯
export const get_hotInformation = (params) => {
    return axios.request({
        url: '/info.v1/information/hotInformation',
        method: 'get',
        params: params
    })
}
// 股票简况接口
export const get_stock_profit = (params) => {
    return axios.request({
        url: '/info.v1/stockBasic/profile',
        method: 'get',
        params: params
    })
}
// 股票公告接口
export const get_stock_notice = (params) => {
    return axios.request({
        url: '/info.v1/stockBasic/notice',
        method: 'get',
        params: params
    })
}
// 股票资讯接口
export const get_stock_basic_news = (params) => {
    return axios.request({
      url: '/info.v1/stockBasic/news',
      method: 'get',
      params: params
    })
}
// 协议接口
export const get_agreementFile = (params) => {
    return axios.request({
      url: '/info.v1/appPage/agreementFile',
      method: 'get',
      params: params
    })
}
// 资讯详情
export const get_newsDetail = (params) => {
    return axios.request({
      url: '/info.v1/appPage/newsDetail',
      method: 'get',
      params: params
    })
}
// 字段解释页面
export const get_explain = (params) => {
    return axios.request({
      url: '/info.v1/appPage/explain',
      method: 'get',
      params: params
    })
}
// web页面初始化
export const get_webInit = (params) => {
    return axios.request({
      url: '/info.v1/appPage/webInit',
      method: 'get',
      params: params
    })
}
// 新闻详情
export const get_newsInfo = (params) => {
    return axios.request({
      url: '/info.v1/appPage/newsInfo',
      method: 'get',
      params: params
    })
}
// 财务页面
export const get_financial = (params) => {
    return axios.request({
      url: '/info.v1/appPage/getFinancial',
      method: 'get',
      params: params
    })
}
// 资金页面
export const get_capital = (params) => {
    return axios.request({
      url: '/info.v1/appPage/getCapital',
      method: 'get',
      params: params
    })
}
// 财务报表
export const get_charts = (params) => {
    return axios.request({
      url: '/info.v1/appPage/getCharts',
      method: 'get',
      params: params
    })
}
// 资金流向趋势
export const get_capitalLine = (params) => {
  return axios.request({
    url: '/info.v1/market/capitalLine',
    method: 'get',
    params: params
  })
}